package cn.codelab.springcloudalibaba.study.step04.feignclient;

import cn.codelab.springcloudalibaba.study.step04.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-provider", path = "/demo", configuration = FeignConfig.class)
public interface DemoFeignClient {
    @GetMapping(value = "/hello")
    String say(@RequestParam(value = "msg") String msg);
}
